package com.example.cash.craft.dao.persist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.cash.craft.pojo.entity.Order;
import com.example.cash.craft.pojo.vo.OrderSimpleInfoVO;
import com.example.cash.craft.pojo.vo.PageData;

import java.util.List;

public interface OrderMapper extends BaseMapper<Order> {

    OrderSimpleInfoVO selectById(Long id);

    List<OrderSimpleInfoVO> listByUserId(Long userId);

}
